/******************************************************************************
 * Filename: Guitar.h
 *
 * Copyright 2012, Research In Motion Ltd
 *
 * Author: Gang Li
 *
 * Created: Jul 7, 2012
 *
 * Description:
 *
 *****************************************************************************/

#ifndef GUITAR_H_
#define GUITAR_H_

#include "Instrument.h"

class Guitar : public Instrument
{
private:
    class String
    {
    private:
        Guitar & guitar;
        int tune;

    public:
        String(Guitar & g, int tune) : guitar(g)
        {
            this->tune = tune;
        }

        int GetTune() const
        {
            return guitar.base_tune + tune;
        }
    };

private:
    int base_tune;
    String s1;
    String s2;
    String s3;

public:
    int data;

public:
    Guitar();
    virtual ~Guitar();

    virtual void play() const;

    const char * ToString();
};

#endif /* GUITAR_H_ */
